﻿#pragma once

///////////////////////////////////////////////////
// include OS related defines
// MY_USE_WX:	wxWidget
#if defined MY_USE_WX
	#include "mytest_win32.h"
	#include "mytest_wxWidget.h"
#endif
///////////////////////////////////////////////////

// include STL library
#include "mytest_stl.h"

// include Boost library
#include "mytest_boost.h"

// include ASIO library (如需使用请定义 MY_USE_ASIO 或者 MY_USE_ASIO_98)
#include "mytest_asio.h"

// define the types
#include "mytest_types.h"

// some defines
#include "mytest_defines.h"

// define myassert()
//#define MY_RELEASE_VERSION_INCL_DEBUG_CODE
#include "mytest_debug.h"

// disable some warnings
#ifdef _MSC_VER
	#pragma warning(disable:4100)	// unreferenced formal parameter
	#pragma warning(disable:4127)	// 条件表达式是常量
	#pragma warning(disable:4800)	// 将值强制为布尔值“true”或“false”(性能警告)
	#pragma warning(disable:4819)	// 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
	#pragma warning(disable:4512)	// assignment operator could not be generated
	//#pragma warning(disable:4101)	// 未引用的局部变量
	#pragma warning(disable: 4355)	// 'this' : used in base member initializer list
	#pragma warning(error:4706)		// 不允许条件表达式内的赋值
	#pragma conform(forScope, on)	// enables the /Zc:forScope compiler option
#endif
